package com.testing.class4;

public class StaticTest {
    public static void main(String[] args) {
        WashMachine axi=new WashMachine();
        WashMachine wash=new WashMachine();

        System.out.println(axi.color);
        System.out.println(wash.color);

        System.out.println(axi.brand);
        System.out.println(wash.brand);

        axi.color="黑色";
        axi.brand="卡萨帝";

        System.out.println("----------------修改成员变量的值：-----------------");
        System.out.println(axi.color);
        System.out.println(wash.color);

        System.out.println(axi.brand);
        System.out.println(wash.brand);

    }
}
